Skip to content

Changed error message to better reflect the root cause of a failed task#50

Open
rangp wants to merge 1 commit intoshootaroo:masterfrom
rangp:rangp-patch-1
Open

Changed error message to better reflect the root cause of a failed task#50
rangp wants to merge 1 commit intoshootaroo:masterfrom
rangp:rangp-patch-1

Conversation

@rangp
Copy link

@rangp rangp commented Oct 18, 2016

I'm proposing a simple change in the error message below. "Task failed" does not reflect the cause of the problem because the task could not even be found.

Background:
I just invested a couple of ours into finding out what was wrong with my grunt task, before realizing that it didn't fail - because it didn't run in the first place. The real problem was that I used mappings the wrong way. Yet the error message suggests that the problem lies within the grunt task, when it really is about the jit configuration. Because of the confusion I had regarding the "Task failed" error message, I'm now proposing this pull request.

Changed error message to better reflect the root cause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant